package cn.zhuizikejithreeig.com.passenger;

import android.app.Dialog;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import cn.zhuizikejithreeig.com.brodcat.BackCall;
import cn.zhuizikejithreeig.com.utils.DialogUtil;
import cn.zhuizikejithreeig.com.utils.ToastMake;

public class PayActivity extends BasicActivity {
    @Override
    protected boolean actionBarNeedGoon() {
        return false;
    }

    @Override
    public int setContView() {
        return R.layout.activity_pay;
    }

    @Override
    protected int setHandIndexShow() {
        return 1;
    }

    @Override
    protected void initToDo() {

    }

    @Override
    protected void initView() {
        setTitle("支付Dome");
    }

    @Override
    protected void netChengedListen(int netMobile) {

    }
    //点击支付按钮
    public void  pay(View view){
//        System.out.println("点击了");
        ToastMake.showToast("点击了");

        Dialog dialog = DialogUtil.showInfoDialog(PayActivity.this, "提示", "这是提示语");
            dialog.show();
            DialogUtil.showInfoDialog1(PayActivity.this, "提示", "这是提示语", "这里确定", "这里取消", new BackCall() {
                @Override
                public void deal(int which, Object... obj) {
                    switch (which) {
                        case R.id.confirm:// 确定

                            break;
                    }
                    super.deal(which, obj);
                }
            });

    }
}
